package com.zmn.mcc.common.dto.staff;

import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * 员工登录验证通过后返回的对象
 *
 * @author heguanghua
 * @since 2020/06/02 18:58
 */
@Getter(value = AccessLevel.PUBLIC)
@Setter(value = AccessLevel.PUBLIC)
public class LoginStaffDO implements Serializable {
    private static final long serialVersionUID = 3664066054823126179L;

    protected Integer staffId;
    protected String staffName;
    protected String realName;
    private Integer companyId;
    private Integer orgTop;
    private Integer plat;
    private Integer orgTwoId;
    private Integer orgThrId;
    private Integer orgId;
    private Integer deptOneId;
    private Integer deptTwoId;
    private Integer deptThrId;
    private Integer deptId;
    private String deptName;
    private String mobile;
    private String mail;
    private Integer whitelist;            // 是否IP白名单，1否，2是
    private Integer openDate;             // 是否不限IP日期内，1否，2是
    private Integer permitSelf;           // 是否自定义功能权限，1否，2是
    private Integer dpermitOrgSelf;       // 是否自定义组织权限，1否，2是
    private Integer dpermitDeptSelf;      // 是否自定义部门权限，1否，2是
    private Integer dpermitAreaSelf;      // 是否自定义区域权限，1否，2是
    private Integer dpermitCubeSelf;      // 是否自定义大数据权限，1否，2是
    private Integer dpermitMeasureSelf;   // 是否自定义大数据指标权限，1否，2是
    private Integer dpermitProductSelf;      // 是否自定义产品权限，1否，2是
    private Integer dpermitPromotionSelf;      // 是否自定义推广账户权限，1否，2是
    private Integer dpermitCooperationSelf;      // 是否自定义合作账户权限，1否，2是
    /**
     * 兼容老数据
     */
    private Integer dpermitChannelSelf;   // 是否自定义渠道权限，1否，2是

    /**
     * 新增基础数据渠道权限
     */
    private Integer dpermitBasicChannelSelf;   // 是否自定义渠道权限，1否，2是
    private Integer identityType;
    private Integer type;
    private Integer exportLimit;        // 数据导出上限
    private Integer dayLimit;           // 查询前溯天数
    private Integer numberLimit;        // 查询条数
    private List<Integer> roleIds;      // 员工角色ID集
    private Integer dpermitDeptId;      // 数据权限默认继承部门ID

    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getOrgTop() {
        return orgTop;
    }

    public void setOrgTop(Integer orgTop) {
        this.orgTop = orgTop;
    }

    public Integer getPlat() {
        return plat;
    }

    public void setPlat(Integer plat) {
        this.plat = plat;
    }

    public Integer getOrgTwoId() {
        return orgTwoId;
    }

    public void setOrgTwoId(Integer orgTwoId) {
        this.orgTwoId = orgTwoId;
    }

    public Integer getOrgThrId() {
        return orgThrId;
    }

    public void setOrgThrId(Integer orgThrId) {
        this.orgThrId = orgThrId;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public Integer getDeptOneId() {
        return deptOneId;
    }

    public void setDeptOneId(Integer deptOneId) {
        this.deptOneId = deptOneId;
    }

    public Integer getDeptTwoId() {
        return deptTwoId;
    }

    public void setDeptTwoId(Integer deptTwoId) {
        this.deptTwoId = deptTwoId;
    }

    public Integer getDeptThrId() {
        return deptThrId;
    }

    public void setDeptThrId(Integer deptThrId) {
        this.deptThrId = deptThrId;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public Integer getWhitelist() {
        return whitelist;
    }

    public void setWhitelist(Integer whitelist) {
        this.whitelist = whitelist;
    }

    public Integer getOpenDate() {
        return openDate;
    }

    public void setOpenDate(Integer openDate) {
        this.openDate = openDate;
    }

    public Integer getPermitSelf() {
        return permitSelf;
    }

    public void setPermitSelf(Integer permitSelf) {
        this.permitSelf = permitSelf;
    }

    public Integer getDpermitOrgSelf() {
        return dpermitOrgSelf;
    }

    public void setDpermitOrgSelf(Integer dpermitOrgSelf) {
        this.dpermitOrgSelf = dpermitOrgSelf;
    }

    public Integer getDpermitDeptSelf() {
        return dpermitDeptSelf;
    }

    public void setDpermitDeptSelf(Integer dpermitDeptSelf) {
        this.dpermitDeptSelf = dpermitDeptSelf;
    }

    public Integer getDpermitAreaSelf() {
        return dpermitAreaSelf;
    }

    public void setDpermitAreaSelf(Integer dpermitAreaSelf) {
        this.dpermitAreaSelf = dpermitAreaSelf;
    }

    public Integer getDpermitChannelSelf() {
        return dpermitChannelSelf;
    }

    public void setDpermitChannelSelf(Integer dpermitChannelSelf) {
        this.dpermitChannelSelf = dpermitChannelSelf;
    }

    public Integer getDpermitCubeSelf() {
        return dpermitCubeSelf;
    }

    public void setDpermitCubeSelf(Integer dpermitCubeSelf) {
        this.dpermitCubeSelf = dpermitCubeSelf;
    }

    public Integer getDpermitProductSelf() {
        return dpermitProductSelf;
    }

    public void setDpermitProductSelf(Integer dpermitProductSelf) {
        this.dpermitProductSelf = dpermitProductSelf;
    }

    public Integer getIdentityType() {
        return identityType;
    }

    public void setIdentityType(Integer identityType) {
        this.identityType = identityType;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getExportLimit() {
        return exportLimit;
    }

    public void setExportLimit(Integer exportLimit) {
        this.exportLimit = exportLimit;
    }

    public Integer getDayLimit() {
        return dayLimit;
    }

    public void setDayLimit(Integer dayLimit) {
        this.dayLimit = dayLimit;
    }

    public Integer getNumberLimit() {
        return numberLimit;
    }

    public void setNumberLimit(Integer numberLimit) {
        this.numberLimit = numberLimit;
    }

    public List<Integer> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Integer> roleIds) {
        this.roleIds = roleIds;
    }

    public Integer getDpermitDeptId() {
        return dpermitDeptId;
    }

    public void setDpermitDeptId(Integer dpermitDeptId) {
        this.dpermitDeptId = dpermitDeptId;
    }
}
